package org.dreamwork.jasmine2.restful.client.gui;

import org.dreamwork.jasmine2.restful.client.gui.ui.MainFrame;

import javax.swing.*;
import java.awt.*;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2014/12/7
 * Time: 3:25
 */
public class Main {
    public static void main (String[] args) throws Exception {
        UIManager.setLookAndFeel (UIManager.getSystemLookAndFeelClassName ());
        Font font = new Font ("微软雅黑", Font.PLAIN, 14);
        UIManager.put ("Label.font", font);
        UIManager.put ("TextField.font", font);
        UIManager.put ("Table.font", font);
        UIManager.put ("Button.font", font);
        UIManager.put ("ComboBox.font", font);
        UIManager.put ("TabbedPane.font", font);
        UIManager.put ("TextArea.font", font);
        UIManager.put ("TextPane.font", font);

        System.setProperty ("org.dreamwork.secure.provider", "org.bouncycastle.jce.provider.BouncyCastleProvider");
        new MainFrame ().setVisible (true);
    }
}